home *** CD-ROM | disk | FTP | other *** search
- 'NW4XDEL.BAS - Novell Netware 4.X Interface for Visual Basic for Windows
- ' Contains function and structure definations for delting Netware
- 'files, salvageing deleted files and information on these files.
- 'Requirements - NONE
-
- type NWDELETED_INFO
- sequence as Long
- parent as Long
- attributes as Long
- uniqueID as Integer
- flags as String * 1
- nameSpace as String * 1
- nameLength as String * 1
- name as String * 256
- creationDateAndTime as Long
- ownerID as Long
- lastArchiveDateAndTime as Long
- lastArchiverID as Long
- updateDateAndTime as Long
- updatorID as Long
- fileSize as Long
- reserved as String * 44
- inheritedRightsMask as Integer
- lastAccessDate as Integer
- deletedTime as Long
- deletedDateAndTime as Long
- deletorID as Long
- reserved3 as String * 16
- end Type
-
- 'All Path should be init to String * 255
- Declare Function NWPurgeDeletedFile Lib "NWCALLS.DLL" (ByVal conn%, ByVal dirHandle%, ByVAL sequence&, ByVAL volume&, ByVal dirBase&, ByVAl fileName$) as Integer
- Declare Function NWRecoverDeletedFile Lib "NWCALLS.DLL" (ByVal conn%, ByVAL dirHandle%, ByVAl sequence&, ByVAL volume&, ByVAl dirBase&, ByVAl deletedFileName$, ByVAL recoverFileName$) as Integer
-
- Declare Function NWScanForDeletedFiles Lib "NWCALLS.DLL" (ByVal conn%, ByVAl dirHandle%, sequence&, volume&, dirBase&, entryInfo as NWDELETED_INFO) as Integer
-
- Declare Function NWPurgeErasedFiles Lib "NWCALLS.DLL" (ByVal conn%) as Integer
- Declare Function NWRestoreErasedFile Lib "NWCALLS.DLL" (ByVal conn%, ByVAl dirHandle%, ByVAL dirPath$, ByVAL oldName$, ByVAl newName$) as Integer
-